package cn.digiwin.wx.controller;

import cn.e4j.core.base.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author wenchuan.li
 * @date 2019/4/17 16:30
 */
@Controller
@RequestMapping("/api/wx/")
public class GlobleController extends BaseController {


    /**
     * 微信授权失败  无法调用 controller 为什么？   必须放在 cn.e4j包下
     *
     *
     */
    @RequestMapping(value = "errorPage")
    public String errorPage() {
        return REDIRECT+"/html/wx/authError.html";
    }

    /**
     * 微信已注册--等待审核
     */
    @RequestMapping("waitCheckPage")
    public String waitCheckPage() {
        return REDIRECT+"/html/wx/waitCheckPage.html";
    }

}
